package com.qinghong.scheduling.taskdemo;

import org.springframework.stereotype.Component;

@Component("schedulingTaskDemo")
public class SchedulingTaskDemo {

    public void taskWithParams(String params){
        System.out.println("执行带参数的定时任务..."+params);
    }

    public void taskWithoutParams(){
        System.out.println("执行不带参数的定时任务");
    }
}
